package com.lebang.example;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

public class CencesBrandEffectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CencesBrandEffectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDate value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDate value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDate value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDate value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDate value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDate> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDate> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("`time` is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("`time` is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Integer value) {
            addCriterion("`time` =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Integer value) {
            addCriterion("`time` <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Integer value) {
            addCriterion("`time` >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`time` >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Integer value) {
            addCriterion("`time` <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Integer value) {
            addCriterion("`time` <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Integer> values) {
            addCriterion("`time` in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Integer> values) {
            addCriterion("`time` not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Integer value1, Integer value2) {
            addCriterion("`time` between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("`time` not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIsNull() {
            addCriterion("sdk_key is null");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIsNotNull() {
            addCriterion("sdk_key is not null");
            return (Criteria) this;
        }

        public Criteria andSdkKeyEqualTo(String value) {
            addCriterion("sdk_key =", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotEqualTo(String value) {
            addCriterion("sdk_key <>", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyGreaterThan(String value) {
            addCriterion("sdk_key >", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyGreaterThanOrEqualTo(String value) {
            addCriterion("sdk_key >=", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLessThan(String value) {
            addCriterion("sdk_key <", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLessThanOrEqualTo(String value) {
            addCriterion("sdk_key <=", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyLike(String value) {
            addCriterion("sdk_key like", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotLike(String value) {
            addCriterion("sdk_key not like", value, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyIn(List<String> values) {
            addCriterion("sdk_key in", values, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotIn(List<String> values) {
            addCriterion("sdk_key not in", values, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyBetween(String value1, String value2) {
            addCriterion("sdk_key between", value1, value2, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andSdkKeyNotBetween(String value1, String value2) {
            addCriterion("sdk_key not between", value1, value2, "sdkKey");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andFinishIsNull() {
            addCriterion("finish is null");
            return (Criteria) this;
        }

        public Criteria andFinishIsNotNull() {
            addCriterion("finish is not null");
            return (Criteria) this;
        }

        public Criteria andFinishEqualTo(Integer value) {
            addCriterion("finish =", value, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishNotEqualTo(Integer value) {
            addCriterion("finish <>", value, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishGreaterThan(Integer value) {
            addCriterion("finish >", value, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishGreaterThanOrEqualTo(Integer value) {
            addCriterion("finish >=", value, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishLessThan(Integer value) {
            addCriterion("finish <", value, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishLessThanOrEqualTo(Integer value) {
            addCriterion("finish <=", value, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishIn(List<Integer> values) {
            addCriterion("finish in", values, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishNotIn(List<Integer> values) {
            addCriterion("finish not in", values, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishBetween(Integer value1, Integer value2) {
            addCriterion("finish between", value1, value2, "finish");
            return (Criteria) this;
        }

        public Criteria andFinishNotBetween(Integer value1, Integer value2) {
            addCriterion("finish not between", value1, value2, "finish");
            return (Criteria) this;
        }

        public Criteria andOneClickIsNull() {
            addCriterion("one_click is null");
            return (Criteria) this;
        }

        public Criteria andOneClickIsNotNull() {
            addCriterion("one_click is not null");
            return (Criteria) this;
        }

        public Criteria andOneClickEqualTo(Integer value) {
            addCriterion("one_click =", value, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickNotEqualTo(Integer value) {
            addCriterion("one_click <>", value, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickGreaterThan(Integer value) {
            addCriterion("one_click >", value, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickGreaterThanOrEqualTo(Integer value) {
            addCriterion("one_click >=", value, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickLessThan(Integer value) {
            addCriterion("one_click <", value, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickLessThanOrEqualTo(Integer value) {
            addCriterion("one_click <=", value, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickIn(List<Integer> values) {
            addCriterion("one_click in", values, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickNotIn(List<Integer> values) {
            addCriterion("one_click not in", values, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickBetween(Integer value1, Integer value2) {
            addCriterion("one_click between", value1, value2, "oneClick");
            return (Criteria) this;
        }

        public Criteria andOneClickNotBetween(Integer value1, Integer value2) {
            addCriterion("one_click not between", value1, value2, "oneClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickIsNull() {
            addCriterion("two_click is null");
            return (Criteria) this;
        }

        public Criteria andTwoClickIsNotNull() {
            addCriterion("two_click is not null");
            return (Criteria) this;
        }

        public Criteria andTwoClickEqualTo(Integer value) {
            addCriterion("two_click =", value, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickNotEqualTo(Integer value) {
            addCriterion("two_click <>", value, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickGreaterThan(Integer value) {
            addCriterion("two_click >", value, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickGreaterThanOrEqualTo(Integer value) {
            addCriterion("two_click >=", value, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickLessThan(Integer value) {
            addCriterion("two_click <", value, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickLessThanOrEqualTo(Integer value) {
            addCriterion("two_click <=", value, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickIn(List<Integer> values) {
            addCriterion("two_click in", values, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickNotIn(List<Integer> values) {
            addCriterion("two_click not in", values, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickBetween(Integer value1, Integer value2) {
            addCriterion("two_click between", value1, value2, "twoClick");
            return (Criteria) this;
        }

        public Criteria andTwoClickNotBetween(Integer value1, Integer value2) {
            addCriterion("two_click not between", value1, value2, "twoClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickIsNull() {
            addCriterion("three_click is null");
            return (Criteria) this;
        }

        public Criteria andThreeClickIsNotNull() {
            addCriterion("three_click is not null");
            return (Criteria) this;
        }

        public Criteria andThreeClickEqualTo(Integer value) {
            addCriterion("three_click =", value, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickNotEqualTo(Integer value) {
            addCriterion("three_click <>", value, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickGreaterThan(Integer value) {
            addCriterion("three_click >", value, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickGreaterThanOrEqualTo(Integer value) {
            addCriterion("three_click >=", value, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickLessThan(Integer value) {
            addCriterion("three_click <", value, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickLessThanOrEqualTo(Integer value) {
            addCriterion("three_click <=", value, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickIn(List<Integer> values) {
            addCriterion("three_click in", values, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickNotIn(List<Integer> values) {
            addCriterion("three_click not in", values, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickBetween(Integer value1, Integer value2) {
            addCriterion("three_click between", value1, value2, "threeClick");
            return (Criteria) this;
        }

        public Criteria andThreeClickNotBetween(Integer value1, Integer value2) {
            addCriterion("three_click not between", value1, value2, "threeClick");
            return (Criteria) this;
        }

        public Criteria andFourClickIsNull() {
            addCriterion("four_click is null");
            return (Criteria) this;
        }

        public Criteria andFourClickIsNotNull() {
            addCriterion("four_click is not null");
            return (Criteria) this;
        }

        public Criteria andFourClickEqualTo(Integer value) {
            addCriterion("four_click =", value, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickNotEqualTo(Integer value) {
            addCriterion("four_click <>", value, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickGreaterThan(Integer value) {
            addCriterion("four_click >", value, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickGreaterThanOrEqualTo(Integer value) {
            addCriterion("four_click >=", value, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickLessThan(Integer value) {
            addCriterion("four_click <", value, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickLessThanOrEqualTo(Integer value) {
            addCriterion("four_click <=", value, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickIn(List<Integer> values) {
            addCriterion("four_click in", values, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickNotIn(List<Integer> values) {
            addCriterion("four_click not in", values, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickBetween(Integer value1, Integer value2) {
            addCriterion("four_click between", value1, value2, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFourClickNotBetween(Integer value1, Integer value2) {
            addCriterion("four_click not between", value1, value2, "fourClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickIsNull() {
            addCriterion("five_click is null");
            return (Criteria) this;
        }

        public Criteria andFiveClickIsNotNull() {
            addCriterion("five_click is not null");
            return (Criteria) this;
        }

        public Criteria andFiveClickEqualTo(Integer value) {
            addCriterion("five_click =", value, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickNotEqualTo(Integer value) {
            addCriterion("five_click <>", value, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickGreaterThan(Integer value) {
            addCriterion("five_click >", value, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickGreaterThanOrEqualTo(Integer value) {
            addCriterion("five_click >=", value, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickLessThan(Integer value) {
            addCriterion("five_click <", value, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickLessThanOrEqualTo(Integer value) {
            addCriterion("five_click <=", value, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickIn(List<Integer> values) {
            addCriterion("five_click in", values, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickNotIn(List<Integer> values) {
            addCriterion("five_click not in", values, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickBetween(Integer value1, Integer value2) {
            addCriterion("five_click between", value1, value2, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andFiveClickNotBetween(Integer value1, Integer value2) {
            addCriterion("five_click not between", value1, value2, "fiveClick");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNull() {
            addCriterion("app_id is null");
            return (Criteria) this;
        }

        public Criteria andAppIdIsNotNull() {
            addCriterion("app_id is not null");
            return (Criteria) this;
        }

        public Criteria andAppIdEqualTo(Integer value) {
            addCriterion("app_id =", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotEqualTo(Integer value) {
            addCriterion("app_id <>", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThan(Integer value) {
            addCriterion("app_id >", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("app_id >=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThan(Integer value) {
            addCriterion("app_id <", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdLessThanOrEqualTo(Integer value) {
            addCriterion("app_id <=", value, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdIn(List<Integer> values) {
            addCriterion("app_id in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotIn(List<Integer> values) {
            addCriterion("app_id not in", values, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdBetween(Integer value1, Integer value2) {
            addCriterion("app_id between", value1, value2, "appId");
            return (Criteria) this;
        }

        public Criteria andAppIdNotBetween(Integer value1, Integer value2) {
            addCriterion("app_id not between", value1, value2, "appId");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}